#include "trap.h"
    .set noreorder
    .set noat 
    .global main 
    .text 

main:
    li $t0, 0x1
#test badvaddr
    mtc0 $t0, $8
    mfc0 $t2, $8
    nop

#test status
    mtc0 $t0, $12
    mfc0 $t3, $12
    nop

#test cause
    mtc0 $t0, $13
    mfc0 $t4, $13
    nop

#test epc
    mtc0 $t0, $14
    mfc0 $t5, $14
    nop

    HIT_GOOD_TRAP
